package work.service;

import work.entity.Bookware;

import java.util.List;

public interface BookwareService {
    Bookware findById(String bookWareId);
    List<Bookware> findByName(String bookName);
    List<Bookware> findByAuthor(String bookAuthor);
    List<Bookware> findByPublisher(String bookPublisher);
    List<Bookware> findByType(String bookType);
    List<Bookware> findAll();
    List<Bookware> findByBookware(Bookware bookware);
    List<Bookware> findByBookware1(Bookware bookware);
    int updateWare(Bookware bookware);
    List<Bookware> orderByGrade();
    List<Bookware> orderByGradeDesc();
    List<Bookware> orderByGradeAsc();
    int insertBookware(Bookware bookware);
    String findIdByName(String bookName);
    String findNameById(String id);
}
